package com.kaixin001.tk.action;

import java.util.LinkedList;
import java.util.List;

import com.kaixin001.tk.api.Action;
import com.kaixin001.tk.api.ActionResult;

public class ActionResultImpl implements ActionResult {
	
	private String desc;
	
	private boolean isSucceed;
	
	private List<Action> actions = null;
	
	public ActionResultImpl() {
		desc = "";
		isSucceed =false;		
	}

	public ActionResultImpl(String desc, boolean isSucceed) {
		super();
		this.desc = desc;
		this.isSucceed = isSucceed;
	}

	public String getResultDesc() {
		return desc;
	}

	public boolean isSuccess() {
		return isSucceed;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public void setSucceed(boolean isSucceed) {
		this.isSucceed = isSucceed;
	}

	public List<Action> getAttachedActions() {
		
		return actions;
	}

	public void setAttachedActions(List<Action> actions) {
	
		this.actions = actions;
		
	}

	
}
